package edu.sctu.practice.class02.xuejiahua.test01;

/**
 * Created by Administrator on 2015/10/9.
 */
public class Awork {
    public int v=100;



    public void doGuess(int a){
        if(v!=a){
            if(a>v){
                System.out.println("输入大了");
            }

            else {
                System.out.println("输入小了");

            }
        }else {

            System.out.println("猜测成功");

        }


    };



}
